﻿<?xml version="1.0" encoding="utf-8"?>
<xs:schema id="Price" targetNamespace="http://tempuri.org/Price.xsd" xmlns:mstns="http://tempuri.org/Price.xsd" xmlns="http://tempuri.org/Price.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:msprop="urn:schemas-microsoft-com:xml-msprop" attributeFormDefault="qualified" elementFormDefault="qualified">
  <xs:annotation>
    <xs:appinfo source="urn:schemas-microsoft-com:xml-msdatasource">
      <DataSource DefaultConnectionIndex="0" FunctionsComponentName="QueriesTableAdapter" Modifier="AutoLayout, AnsiClass, Class, Public" SchemaSerializationMode="IncludeSchema" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
        <Connections>
          <Connection AppSettingsObjectName="Settings" AppSettingsPropertyName="ERP_MOVILConnectionString" ConnectionStringObject="" IsAppSettingsProperty="true" Modifier="Assembly" Name="ERP_MOVILConnectionString (Settings)" ParameterPrefix="@" PropertyReference="ApplicationSettings.MMSA.Entities.Properties.Settings.GlobalReference.Default.ERP_MOVILConnectionString" Provider="System.Data.SqlClient" />
        </Connections>
        <Tables>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="PED_LISTA_PRECIOSTableAdapter" GeneratorDataComponentClassName="PED_LISTA_PRECIOSTableAdapter" Name="PED_LISTA_PRECIOS" UserDataComponentName="PED_LISTA_PRECIOSTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="ERP_MOVILConnectionString (Settings)" DbObjectName="ERP_MOVIL.dbo.PED_LISTA_PRECIOS" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[PED_LISTA_PRECIOS] ([lst_id], [lst_nombre], [lst_descripcion], [lst_precio], [pro_id]) VALUES (@lst_id, @lst_nombre, @lst_descripcion, @lst_precio, @pro_id)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@lst_id" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="lst_id" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@lst_nombre" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="lst_nombre" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@lst_descripcion" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="lst_descripcion" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@lst_precio" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="lst_precio" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@pro_id" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="pro_id" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT lst_id, lst_nombre, lst_descripcion, lst_precio, pro_id FROM dbo.PED_LISTA_PRECIOS</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="lst_id" DataSetColumn="lst_id" />
              <Mapping SourceColumn="lst_nombre" DataSetColumn="lst_nombre" />
              <Mapping SourceColumn="lst_descripcion" DataSetColumn="lst_descripcion" />
              <Mapping SourceColumn="lst_precio" DataSetColumn="lst_precio" />
              <Mapping SourceColumn="pro_id" DataSetColumn="pro_id" />
            </Mappings>
            <Sources />
          </TableAdapter>
        </Tables>
        <Sources />
      </DataSource>
    </xs:appinfo>
  </xs:annotation>
  <xs:element name="Price" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:EnableTableAdapterManager="true" msprop:Generator_DataSetName="Price" msprop:Generator_UserDSName="Price">
    <xs:complexType>
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:element name="PED_LISTA_PRECIOS" msprop:Generator_TableClassName="PED_LISTA_PRECIOSDataTable" msprop:Generator_TableVarName="tablePED_LISTA_PRECIOS" msprop:Generator_TablePropName="PED_LISTA_PRECIOS" msprop:Generator_RowDeletingName="PED_LISTA_PRECIOSRowDeleting" msprop:Generator_RowChangingName="PED_LISTA_PRECIOSRowChanging" msprop:Generator_RowEvHandlerName="PED_LISTA_PRECIOSRowChangeEventHandler" msprop:Generator_RowDeletedName="PED_LISTA_PRECIOSRowDeleted" msprop:Generator_UserTableName="PED_LISTA_PRECIOS" msprop:Generator_RowChangedName="PED_LISTA_PRECIOSRowChanged" msprop:Generator_RowEvArgName="PED_LISTA_PRECIOSRowChangeEvent" msprop:Generator_RowClassName="PED_LISTA_PRECIOSRow">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="lst_id" msprop:Generator_ColumnVarNameInTable="columnlst_id" msprop:Generator_ColumnPropNameInRow="lst_id" msprop:Generator_ColumnPropNameInTable="lst_idColumn" msprop:Generator_UserColumnName="lst_id" type="xs:int" />
              <xs:element name="lst_nombre" msprop:Generator_ColumnVarNameInTable="columnlst_nombre" msprop:Generator_ColumnPropNameInRow="lst_nombre" msprop:Generator_ColumnPropNameInTable="lst_nombreColumn" msprop:Generator_UserColumnName="lst_nombre" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="150" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="lst_descripcion" msprop:Generator_ColumnVarNameInTable="columnlst_descripcion" msprop:Generator_ColumnPropNameInRow="lst_descripcion" msprop:Generator_ColumnPropNameInTable="lst_descripcionColumn" msprop:Generator_UserColumnName="lst_descripcion" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="500" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="lst_precio" msprop:Generator_ColumnVarNameInTable="columnlst_precio" msprop:Generator_ColumnPropNameInRow="lst_precio" msprop:Generator_ColumnPropNameInTable="lst_precioColumn" msprop:Generator_UserColumnName="lst_precio" type="xs:double" minOccurs="0" />
              <xs:element name="pro_id" msprop:Generator_ColumnVarNameInTable="columnpro_id" msprop:Generator_ColumnPropNameInRow="pro_id" msprop:Generator_ColumnPropNameInTable="pro_idColumn" msprop:Generator_UserColumnName="pro_id" type="xs:int" minOccurs="0" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
      </xs:choice>
    </xs:complexType>
  </xs:element>
</xs:schema>